package com.zhongyouyun.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongyouyun.admin.model.DeptModel;
import com.zhongyouyun.admin.pojo.AnalysisPojo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
public interface AnalysisMapper extends BaseMapper<AnalysisPojo> {
    List<AnalysisPojo> findUserStateAnalysis();

    List<HashMap<Object, Object>> fileCountShu();

    List<HashMap<Object, Object>> certificatesCountShu();

    List<HashMap<Object, Object>> invoicesCountShu();

    List<AnalysisPojo> findUserStateAnalysisbyDept(@Param(value = "deptId") int deptId, @Param(value = "state") int state);
}
